var imageurl = [{
        "url": "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.jj20.com%2Fup%2Fallimg%2F4k%2Fs%2F01%2F21092412095T006-0-lp.jpg&refer=http%3A%2F%2Fimg.jj20.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1635423915&t=f15191c01ec79ef01666b6adbdb3d6fd"
    },
    {
        "url": "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.jj20.com%2Fup%2Fallimg%2F4k%2Fs%2F01%2F2109241524454335-0-lp.jpg&refer=http%3A%2F%2Fimg.jj20.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1635423759&t=f188021750c0586fdeff0c49f2522a19"
    }
];

var index = Math.floor(Math.random() * (imageurl.length));
var imgurlindex = imageurl[index].url;
$("body").css({
    background: `url(${imgurlindex})`,
    backgroundRepeat: "no-repeat",
    backgroundSize: "100%"
});